package com.senior.sendmessage.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Baijl
 * @version 0.0.1
 * @date 2021-11-02 16:17
 * @description TODO
 */
@NoArgsConstructor
@Data
public class CalendarResultDTO {

    /**
     * 原因
     */
    @JsonProperty("reason")
    private String reason;
    /**
     * 结果
     */
    @JsonProperty("result")
    private ResultDTO result;
    /**
     * 错误代码
     */
    @JsonProperty("error_code")
    private Integer errorCode;

    @NoArgsConstructor
    @Data
    public static class ResultDTO {
        @JsonProperty("date")
        private String date;
        @JsonProperty("week")
        private String week;
        @JsonProperty("statusDesc")
        private String statusDesc;
        @JsonProperty("status")
        private String status;
        @JsonProperty("animal")
        private String animal;
        @JsonProperty("avoid")
        private String avoid;
        @JsonProperty("cnDay")
        private String cnDay;
        @JsonProperty("day")
        private String day;
        @JsonProperty("desc")
        private String desc;
        @JsonProperty("gzDate")
        private String gzDate;
        @JsonProperty("gzMonth")
        private String gzMonth;
        @JsonProperty("gzYear")
        private String gzYear;
        @JsonProperty("isBigMonth")
        private String isBigMonth;
        @JsonProperty("lDate")
        private String lDate;
        @JsonProperty("lMonth")
        private String lMonth;
        @JsonProperty("lunarDate")
        private String lunarDate;
        @JsonProperty("lunarMonth")
        private String lunarMonth;
        @JsonProperty("lunarYear")
        private String lunarYear;
        @JsonProperty("month")
        private String month;
        @JsonProperty("suit")
        private String suit;
        @JsonProperty("term")
        private String term;
        @JsonProperty("value")
        private String value;
        @JsonProperty("year")
        private String year;
    }
}
